package com.eden.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.metadata.CellData;
import lombok.Data;

import java.util.Date;

/**
 * ClassName: Student
 * Package: com.eden.domain
 * Description: todo
 * Date:  2020/10/18 14:03
 *
 * @Author: 李秉林
 */
@Data
@ContentRowHeight(50)
@ColumnWidth(value = 20)
@HeadRowHeight(30)
public class Student {
	@ExcelProperty(value = "学生姓名")
	private String name;
	@ExcelProperty(value = "学生年龄")
	private CellData<Integer> age;
//	private int age;
	@ExcelProperty(value = "学生生日")
	@DateTimeFormat("yyyy年MM-dd hh:mm:ss")
	private Date birthday;
//	private CellData<Date> doubleData;



}
